package com.example.orders.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * (Orders)实体类
 *
 * @author makejava
 * @since 2025-07-24 10:19:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders implements Serializable {
    private static final long serialVersionUID = -81929501427572929L;

    private Integer id;

    private Integer userId;

    private String orderName;

    private Double price;

    @TableField(exist = false)
    private User user;

}

